home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7249 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: mail2news.demon.co.uk!seacloud.demon.co.uk
  2. From: Ben Ashley <Ben@seacloud.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Visual c++ 1.00
  5. Date: Thu, 22 Feb 96 11:25:10 GMT
  6. Organization: home, in Leicester, England
  7. Message-ID: <824988310snz@seacloud.demon.co.uk>
  8. Reply-To: Ben@seacloud.demon.co.uk
  9. X-NNTP-Posting-Host: seacloud.demon.co.uk
  10. X-Newsreader: Demon Internet Simple News v1.29
  11. X-Mail2News-Path: seacloud.demon.co.uk
  12.  
  13. Hi All,
  14.  
  15. Maybe somebody can help me here.  Over the past few months I have been learning 
  16. the C++ language, and I have found it a very enjoyable one.  Up to now I have 
  17. been writing small MS-DOS application to do very tasks, and to try out the 
  18. different features of C++.  I bought Visual C++ 1.00, and I have been using 
  19. this.  I do plan to upgrade when I have the money and know what extra features 
  20. there are :)
  21.  
  22. However, I do have a few questions.  My knowledge as far as windows programming 
  23. goes, extends to a pretty extensive knowledge of Visual Basic 3.0, and I 
  24. understand the concept of controls.
  25.  
  26. I have been reading the manuals and I have a basic understanding of where the 
  27. ClassWizard puts things, and how to add code to a control event.  To get used 
  28. to how things work, I want to change the caption of a label, when a button is 
  29. clicked on.
  30.  
  31. To do this, I created a skeleton test app (minimal), and added an extra button 
  32. to the about dialog.  I then created an 'Onclick' event.  What I wish to do is 
  33. change the caption of one of the labels to something like 'Hi!'.
  34.  
  35. Basically what I am asking, is how to access the properties of controls you 
  36. have defined.  And if someone could direct me to the manual references, I would 
  37. be grateful.  The manuals are so big and huge, its taking me ages to find 
  38. anything of reference.
  39.  
  40. Any help on this, and in the future, would be much appreciated!
  41.  
  42.  
  43. -- 
  44. Cheers,
  45.  
  46. Ben
  47.  
  48. ------------------====### legal notice ###====-----------------------
  49. Microsoft Network is prohibited from redistributing this work in any
  50. form,in whole or in part.  License to distribute this post is available to
  51. Microsoft for $499.  Posting without permission constitutes an agreement to
  52. these terms.
  53.